package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约订单对象 Appointment
 * 
 * @author 何志龙
 * @date 2024-09-21
 */
public class Appointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 激活码 */
    @Excel(name = "激活码")
    private String activationCode;

    /** 专属权益名称 */
    @Excel(name = "专属权益名称")
    private String exclusiveRightsName;

    /** 专属权益 ID */
    @Excel(name = "专属权益 ID")
    private Long exclusiveRightsId;

    /** 就诊人姓名 */
    @Excel(name = "就诊人姓名")
    private String patientName;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String idType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String idNumber;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 备用电话 */
    @Excel(name = "备用电话")
    private String backupNumber;

    /** 医保卡号 */
    @Excel(name = "医保卡号")
    private String insuranceCardNumber;

    /** 异地就诊 */
    @Excel(name = "异地就诊")
    private Integer outOfTown;

    /** 医院城市 */
    @Excel(name = "医院城市")
    private String hospitalCity;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /** 预期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedTime;

    /** 病历资料 */
    @Excel(name = "病历资料")
    private String medicalRecords;

    /** 住院单 */
    @Excel(name = "住院单")
    private String hospitalizationOrder;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivationCode(String activationCode) 
    {
        this.activationCode = activationCode;
    }

    public String getActivationCode() 
    {
        return activationCode;
    }
    public void setExclusiveRightsName(String exclusiveRightsName) 
    {
        this.exclusiveRightsName = exclusiveRightsName;
    }

    public String getExclusiveRightsName() 
    {
        return exclusiveRightsName;
    }
    public void setExclusiveRightsId(Long exclusiveRightsId) 
    {
        this.exclusiveRightsId = exclusiveRightsId;
    }

    public Long getExclusiveRightsId() 
    {
        return exclusiveRightsId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setIdType(String idType) 
    {
        this.idType = idType;
    }

    public String getIdType() 
    {
        return idType;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setBackupNumber(String backupNumber) 
    {
        this.backupNumber = backupNumber;
    }

    public String getBackupNumber() 
    {
        return backupNumber;
    }
    public void setInsuranceCardNumber(String insuranceCardNumber) 
    {
        this.insuranceCardNumber = insuranceCardNumber;
    }

    public String getInsuranceCardNumber() 
    {
        return insuranceCardNumber;
    }
    public void setOutOfTown(Integer outOfTown) 
    {
        this.outOfTown = outOfTown;
    }

    public Integer getOutOfTown() 
    {
        return outOfTown;
    }
    public void setHospitalCity(String hospitalCity) 
    {
        this.hospitalCity = hospitalCity;
    }

    public String getHospitalCity() 
    {
        return hospitalCity;
    }
    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setExpectedTime(Date expectedTime) 
    {
        this.expectedTime = expectedTime;
    }

    public Date getExpectedTime() 
    {
        return expectedTime;
    }
    public void setMedicalRecords(String medicalRecords) 
    {
        this.medicalRecords = medicalRecords;
    }

    public String getMedicalRecords() 
    {
        return medicalRecords;
    }
    public void setHospitalizationOrder(String hospitalizationOrder) 
    {
        this.hospitalizationOrder = hospitalizationOrder;
    }

    public String getHospitalizationOrder() 
    {
        return hospitalizationOrder;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activationCode", getActivationCode())
            .append("exclusiveRightsName", getExclusiveRightsName())
            .append("exclusiveRightsId", getExclusiveRightsId())
            .append("patientName", getPatientName())
            .append("idType", getIdType())
            .append("idNumber", getIdNumber())
            .append("contactNumber", getContactNumber())
            .append("backupNumber", getBackupNumber())
            .append("insuranceCardNumber", getInsuranceCardNumber())
            .append("outOfTown", getOutOfTown())
            .append("hospitalCity", getHospitalCity())
            .append("hospitalName", getHospitalName())
            .append("departmentName", getDepartmentName())
            .append("expectedTime", getExpectedTime())
            .append("medicalRecords", getMedicalRecords())
            .append("hospitalizationOrder", getHospitalizationOrder())
            .append("notes", getNotes())
            .toString();
    }
}
